package code;

/**
 * This abstract class is used to contain the information of the cards and methods performable on cards.
 * @author justinwong
 *
 */
public abstract class CardTypes {
	protected static int fNextCardNumber = 0;
	protected int fCardNumber;
	
	/**
	 * Abstract method to determine the pay
	 * @param amount amount to pay
	 * @return successful or not
	 */
	public abstract boolean pay(double amount);


}
